package com.hr.service.impl;

import com.hr.mapper.RoleMapper;
import com.hr.service.RoleService;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@AllArgsConstructor
public class RoleServiceImpl implements RoleService {

    private final RoleMapper roleMapper;


    @Override
    public List<String> getUserRole() {
        return roleMapper.getUserRole();
    }
}
